home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Scheduling / Cassandra / Source / cass.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-11-09  |  3.0 KB  |  91 lines

  1. //  Application specific declarations i use
  2. //   This one customized for cassandra
  3. //   all parts copyright (c) 1988, 1989, 1990, 1991 by jiro nakamura
  4. //
  5. //    by Jiro Nakamura (jiro@shaman.com)
  6. //
  7.  
  8. #define    MESSAGE_SIZE        250
  9. #define    FILENAME_BUFFER        256
  10. #define DIRECTORY        "/.cassandra/"
  11. #define    EVENTFILE        "events"
  12. #define EVENTLOGFILE        "logfile"
  13. #define    NOTEPADFILE        "notepad"
  14. #define SOURCELOGINFILE        "login"
  15. #define SOURCELOGOUTFILE    "logout"
  16. #define    FONTNAME        "Helvetica"
  17. #define    FONTSIZE        14.0
  18. /* This is for the initialization structure so it has to be quoted */
  19. #define    FONTSIZEQ        "14.0"    
  20.  
  21. #define    CASSANDRA_TMP    "/tmp/cass_XXXXXX"
  22. #define    FILE_LEN    512
  23. #define    NAME_LENGTH    128
  24. #define    ALARMSOUND    "/NextLibrary/Sounds/Bonk.snd"
  25. #define ALARMEXTENSIONS {"snd", NULL}
  26. typedef int EFileLink;
  27.  
  28. // The following determines what name to write the defaults values under.
  29. #define PROGNAME "Cassandra"
  30.  
  31. // Windows autosave themselves
  32. #define AUTOSAVE
  33.  
  34. // Cassandra Version Number and other info
  35. #define PROGNAME        "Cassandra"
  36. #define CASSANDRAVERSION    "Cassandra Version 1.5  512 byte records."
  37. #define RECORD_SIZE        512
  38.  
  39. // The defaults names for the defaults used by the program.
  40. #define DEFAULTALARMSOUND         "DefaultAlarmSound"
  41. #define DEFAULTALARMVOLUME        "DefaultAlarmVolume"
  42. #define DEFAULTAUTOLAUNCHED        "NXAutoLaunch"
  43. #define DEFAULTCLOCKFACENUMBER      "ClockFaceNumber"
  44. #define DEFAULTCLOCKTYPE        "ClockType"
  45. #define DEFAULTCOMPRESSEVENTS        "CompressEvents"
  46. #define DEFAULTDIRECTORY        "Directory"
  47. #define    DEFAULTEVENTLOGFRAME        "EventLogFrame"
  48. #define DEFAULTEVENTLOGONLAUNCH        "EventLogOnLaunch"
  49. #define DEFAULTFONTNAME            "NXFont"
  50. #define DEFAULTFONTSIZE            "NXFontSize"
  51. #define DEFAULTGURU             "Crashed"
  52. #define DEFAULTHIDEONLAUNCH        "HideOnLaunch"
  53. #define DEFAULTHIGHPRIORITY        "HighPriority"
  54. #define DEFAULTLOWPRIORITY        "LowPriority"
  55. #define DEFAULTMILITARYTIME        "24HourClock"
  56. #define    DEFAULTNOTEPADFRAME        "NotepadFrame"
  57. #define DEFAULTNOTEPADONLAUNCH        "NotepadOnLaunch"
  58. #define    DEFAULTOVERVIEWFRAME        "OverviewFrame"
  59. #define DEFAULTOVERVIEWONLAUNCH        "OverviewOnLaunch"
  60. #define    DEFAULTPLAYALARM        "PlayAlarm"
  61. #define    DEFAULTSAVESCREEN        "SaveScreen"
  62. #define DEFAULTSCREENSAVER        "ScreenSaver"
  63. #define DEFAULTSHOWSECONDS         "ShowSeconds"
  64. #define DEFAULTSHOWDATE         "ShowDate"
  65. #define DEFAULTSOURCELOGINONLAUNCH    "SourceLoginOnLaunch"
  66. #define DEFAULTTODAYONLAUNCH        "TodayOnLaunch"
  67. #define    DEFAULTTODAYFRAME        "TodayFrame"
  68. #define    DEFAULTTODAYSHOWTIME        "TodayShowTime"
  69. #define    DEFAULTWEEKFRAME        "WeekFrame"
  70. #define DEFAULTWEEKONLAUNCH        "WeekOnLaunch"
  71.  
  72. // What are the clockfaces called?
  73. #define BITMAPNAME            "ClockFace"
  74.  
  75. // What is the default screensaver program?
  76. #define SCREENSAVER            "/usr/local/bin/screensaver"
  77.  
  78. // Define the icons for the windows during miniturization
  79. #define OVERVIEWICON                "window.tiff"
  80. #define NOTEPADICON                "window.tiff"
  81. #define EVENTLOGICON                "window.tiff"
  82. #define    WEEKICON                "window.tiff"
  83. #define TODAY_ICON                "window.today.tiff"
  84.  
  85. // Define the Left and Right Button icons
  86. #define    LEFTARROW                "Left"
  87. #define    DISABLEDLEFTARROW            "LeftD"
  88. #define    RIGHTARROW                "Right"
  89. #define    DISABLEDRIGHTARROW            "RightD"
  90.  
  91.